gtkicontheme: check for GdkPixbuf first
authorRyan Lortie <desrt@desrt.ca>
Thu, 1 Aug 2013 21:06:00 +0000 (23:06 +0200)
committerRyan Lortie <desrt@desrt.ca>
Fri, 2 Aug 2013 13:00:08 +0000 (15:00 +0200)
commit03147b0e7253928b150fe1fbba23b454b42b7c28
tree810b50bc732f9aadff747e3b728051d324e52c1d
parent0091b4d54ad68ab000d4b711c7b419dc801a4139
gtkicontheme: check for GdkPixbuf first

We checked for G_IS_LOADABLE_ICON() before GDK_IS_PIXBUF().

Since we made GdkPixbuf implement GLoadableIcon, the special case for
pixbufs is never used, and the much much slower GLoadableIcon path is
taken instead.  Move the GdkPixbuf one to be first to fix that.

https://bugzilla.gnome.org/show_bug.cgi?id=705320
gtk/gtkicontheme.c